*,
*:after,
*:before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    transition: all 0.3s;
}

html,
body {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: rgb(243, 243, 243);
    color: rgba(0, 0, 0, 0.6);
    user-select: none;
}


/*body header {
	position: relative;
	width: 100%;
	height: 80px;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26);
	background: rgb(3, 169, 245);
	font-size: 30px;
	font-weight: 300;
	color: rgb(242, 251, 253);
	text-align: center;
	line-height: 75px;
}*/

.login {
    position: absolute;
    padding: 10px;
    left: calc(60% - 200px);
    top: calc(50% - 20em);
    width: 400px;
    height: 460px;
    border-radius: 3px;
    background: white;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.26);
    overflow: hidden;
}

.register {
    padding: 10px;
    left: calc(60% - 200px);
    top: calc(50% - 20em);
    width: 400px;
    height: 460px;
    border-radius: 3px;
    background: white;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.26);
    overflow: hidden;
}

#loginleft {
    margin-left: -400px;
    background: url(../images/leftbg.png) no-repeat;
    background-size: 400px;
}

.login>i {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    float: right;
    cursor: pointer;
}

.flag1 #wenzi {
    position: relative;
    top: 34px;
    left: -3px;
    font-size: 25px;
    font-family: "黑体";
}

.flag2 #wenzi {
    top: -90px;
    left: -80px;
}

.flag1 #wenzi p {
    font-size: 17px;
    font-family: "宋体";
    opacity: 0;
    position: relative;
    top: 20px;
    left: 25px;
}

.login .photo {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 30px 135px;
    border-radius: 50%;
    background: rgb(223, 223, 223);
    border: 13px solid rgb(223, 223, 223);
    overflow: hidden !important;
    transform: rotate(-1deg);
    top: 0px;
}

.flag2 .photo {
    top: -300px;
    opacity: 0;
}

.login .photo:before {
    position: absolute;
    content: '';
    width: 35px;
    height: 35px;
    top: 0px;
    right: 20px;
    border-radius: 50%;
    background: #aaa;
    border: 2px solid #fff;
    transform: scale(0);
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    animation: user-head 0.5s 0s forwards;
}

.login .photo:after {
    position: absolute;
    content: '';
    width: 140px;
    height: 220px;
    top: 38px;
    right: -32px;
    border-radius: 50%;
    background: #aaa;
    border: 2px solid #fff;
    transform: translateY(36px);
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    animation: user-body 0.5s 0.3s forwards;
}

.login>span {
    display: block;
    text-align: center;
    margin: -15px 0;
    font-size: 15px;
}

form {
    position: relative;
    width: 350px;
    margin: 0 15px;
    top: -10px;
}

.flag1 #u {
    position: relative;
    top: 0px;
}

.flag2 #u {
    top: -80px;
}

.flag1 #p {
    position: relative;
    top: 0px;
    opacity: 0;
}

.flag2 #p {
    top: -135px;
    opacity: 1;
}

#anniu {
    position: relative;
    top: -150px;
}

.form-group {
    position: relative;
    margin-top: 100px;
    margin-bottom: 20px;
}

.form-control {
    display: block;
    height: 36px;
    width: 100%;
    border: none;
    border-radius: 0 !important;
    font-size: 15px;
    font-family: inherit;
    font-weight: 300;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(117, 117, 117, 0.15);
}

.form-control:focus {
    border-bottom: 2px solid rgb(3, 169, 245);
    outline: none;
    box-shadow: none;
}

.form-highlight {
    position: absolute;
    height: 60%;
    width: 60px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.4;
}

.form-control:focus~.form-highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

.float-label {
    position: absolute;
    left: 0px;
    top: 0px;
    font-size: 16px;
    color: #999;
    font-weight: 300;
    text-align: center;
    -webkit-transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    transition: 0.2s ease all;
}

.form-control:focus~.float-label,
.form-control:valid~.float-label {
    top: -15px;
    font-size: 12px;
    margin-left: 0px;
}

.form-group erroru,
.form-group errorp {
    position: absolute;
    width: 100%;
    left: 0;
    top: 38px;
    font-size: 11px;
    color: #d34336;
    font-weight: 300;
    -webkit-transition: 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
    -moz-transition: 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
    opacity: 0;
}

.form-group erroru i,
.form-group errorp i {
    position: absolute;
    right: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    float: right;
}

input[type=checkbox] {
    display: none;
    visibility: hidden;
}

.label {
    position: relative;
    top: -11px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.flag1 #jizhu {
    position: relative;
    top: -10px;
    transition: all 0.3s;
}

.flag2 #jizhu {
    top: -420px;
    opacity: 0;
}

.flag1 #wangji {
    left: -98px;
    top: 300px;
    opacity: 0;
    transition: all 0.3s;
}

.flag2 #wangji {
    top: -8px;
    opacity: 1;
}

input[type="checkbox"]+label:before {
    display: inline-block;
    content: "";
    margin: 0 15px 3px 0px;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 2px solid #5a5a5a;
    border-radius: 2px;
    vertical-align: middle;
}

input[type=checkbox]:checked+label:before {
    background-image: url('');
    background-color: rgb(3, 169, 245);
    border-color: rgb(3, 169, 245);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 11px auto;
}

.flag1 #next,
.flag1 #login {
    position: relative;
    float: right;
    font-family: inherit;
    font-weight: 100;
    font-size: 15px;
    border: 0;
    top: -10px;
    left: 0px;
    padding: 5px 15px;
    border-radius: 3px;
    cursor: pointer;
    background: rgb(3, 169, 245);
    color: #fff;
    transition: all 0.3s;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
}

.flag2 #next {
    left: -500px;
    opacity: 0;
}


.flag1 #fanhui {
    position: relative;
    top: -315px;
    left: 100px;
    opacity: 0;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: 100%;
}

.flag2 #fanhui {
    left: -170px;
    opacity: 1;
}

button:focus {
    outline: none;
}

button:hover {
    cursor: pointer;
    color: rgb(3, 169, 245) !important;
    background: white !important;
}

#fanhui:hover {
    background: rgba(0, 0, 0, 0.2) !important;
}

.flag1 #login {
    left: 500px;
    top: -37px;
    width: 85.5px;
}

.flag2 #login {
    left: 85px;
    opacity: 1;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    margin-left: -10px;
    line-height: 29px;
    text-align: center;
    cursor: pointer;
    border-top: 1px solid rgba(117, 117, 117, 0.15);
}

footer a {
    display: block;
    text-decoration: none;
    font-size: 12px;
    color: inherit;
}

footer a:hover {
    color: rgba(0, 0, 0, 0.9);
    text-decoration: underline;
}

footer a:focus {
    outline: none;
}

.copyright {
    position: fixed;
    width: 100%;
    bottom: 5px;
    text-align: center;
    font-size: 12px;
}

.copyright a {
    text-decoration: none;
    color: rgb(3, 169, 245);
}

.copyright a:hover {
    transition: none;
    border-bottom: 1px solid rgb(3, 169, 245);
}


/*输入框动画*/
@keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: none;
    }
}

/*头像动画*/
@keyframes user-head {
    100% {
        transform: scale(1);
    }
}

@keyframes user-body {
    100% {
        transform: translateY(2px);
    }
}

.waveWrapperInner {
    position: absolute;
    width: 100%;
    overflow: hidden;
    height: 100%;
    background-image: linear-gradient(to top, #a1c4fd 20%, #c2e9fb 80%);
}

.bgTop {
    z-index: 3;
    opacity: 0.5;
}

.bgMiddle {
    z-index: 2;
    opacity: 0.75;
}

.bgBottom {
    z-index: 1;
}

.wave {
    position: absolute;
    left: 0;
    width: 300%;
    height: 100%;
    background-repeat: repeat-x;
    background-position: 0 bottom;
    transform-origin: center bottom;
}

.waveTop {
    background-size: 50% 100px;
}

.waveMiddle {
    background-size: 75% 100px;
}

.waveBottom {
    background-size: 40% 100px;
}

/*动画持续时间和速率和重复无限次*/
.waveAnimation .waveTop {
    animation: move_wave 10s linear infinite;
}

.waveAnimation .waveMiddle {
    animation: move_wave 20s linear infinite;
}

.waveAnimation .waveBottom {
    animation: move_wave 15s linear infinite;
}

/*底部图片移动*/
@keyframes move_wave {
    0% {
        transform: translateX(0)
    }

    50% {
        transform: translateX(-25%)
    }

    100% {
        transform: translateX(-50%)
    }
}